* {
  margin: 0;
  padding: 0;
}

:root {
  background-color: snow;
}

.container {
  width: 300px;
  height: 300px;
  margin: 200px 500px;
  position: relative;
}

.container .hua:nth-child(1) {
  width: 300px;
  height: 300px;
  background-color: red;
  opacity: 0.8;
  border-radius: 0 300px 0 300px;
  transform: rotate(45deg);
  transform-origin: bottom right;
  position: absolute;
  transition: all 4s ease-in-out;
  box-shadow: 0 0 5px rgba(231, 156, 156, 0.05), 0 -1px 3px rgba(231, 156, 156, 0.2), 0 9px 9px rgba(231, 156, 156, 0.3), 0 12px 12px rgba(231, 156, 156, 0.3), 0 15px 15px rgba(231, 156, 156, 0.3);
  background-image: url(./images/01.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -70px 0;
}

.container .hua:nth-child(2) {
  width: 300px;
  height: 300px;
  background-color: orange;
  opacity: 0.8;
  border-radius: 0 300px 0 300px;
  transform: rotate(45deg);
  transform-origin: bottom right;
  position: absolute;
  transition: all 4s ease-in-out;
  box-shadow: 0 0 5px rgba(231, 156, 156, 0.05), 0 -1px 3px rgba(231, 156, 156, 0.2), 0 9px 9px rgba(231, 156, 156, 0.3), 0 12px 12px rgba(231, 156, 156, 0.3), 0 15px 15px rgba(231, 156, 156, 0.3);
  background-image: url(./images/02.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -70px 0;
}

.container .hua:nth-child(3) {
  width: 300px;
  height: 300px;
  background-color: yellow;
  opacity: 0.8;
  border-radius: 0 300px 0 300px;
  transform: rotate(45deg);
  transform-origin: bottom right;
  position: absolute;
  transition: all 4s ease-in-out;
  box-shadow: 0 0 5px rgba(231, 156, 156, 0.05), 0 -1px 3px rgba(231, 156, 156, 0.2), 0 9px 9px rgba(231, 156, 156, 0.3), 0 12px 12px rgba(231, 156, 156, 0.3), 0 15px 15px rgba(231, 156, 156, 0.3);
  background-image: url(./images/04.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -70px 0;
}

.container .hua:nth-child(4) {
  width: 300px;
  height: 300px;
  background-color: green;
  opacity: 0.8;
  border-radius: 0 300px 0 300px;
  transform: rotate(45deg);
  transform-origin: bottom right;
  position: absolute;
  transition: all 4s ease-in-out;
  box-shadow: 0 0 5px rgba(231, 156, 156, 0.05), 0 -1px 3px rgba(231, 156, 156, 0.2), 0 9px 9px rgba(231, 156, 156, 0.3), 0 12px 12px rgba(231, 156, 156, 0.3), 0 15px 15px rgba(231, 156, 156, 0.3);
  background-image: url(./images/06.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -70px 0;
}

.container .hua:nth-child(5) {
  width: 300px;
  height: 300px;
  background-color: skyblue;
  opacity: 0.8;
  border-radius: 0 300px 0 300px;
  transform: rotate(45deg);
  transform-origin: bottom right;
  position: absolute;
  transition: all 4s ease-in-out;
  box-shadow: 0 0 5px rgba(231, 156, 156, 0.05), 0 -1px 3px rgba(231, 156, 156, 0.2), 0 9px 9px rgba(231, 156, 156, 0.3), 0 12px 12px rgba(231, 156, 156, 0.3), 0 15px 15px rgba(231, 156, 156, 0.3);
  background-image: url(./images/09.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: -70px 0;
}

.container .hua:nth-child(6) {
  width: 300px;
  height: 300px;
  background-color: blue;
  opacity: 0.8;
  border-radius: 0 300px 0 300px;
  transform: rotate(45deg);
  transform-origin: bottom right;
  position: absolute;
  transition: all 4s ease-in-out;
  box-shadow: 0 0 5px rgba(231, 156, 156, 0.05), 0 -1px 3px rgba(231, 156, 156, 0.2), 0 9px 9px rgba(231, 156, 156, 0.3), 0 12px 12px rgba(231, 156, 156, 0.3), 0 15px 15px rgba(231, 156, 156, 0.3);
  background-image: url(./images/10.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 -30px;
}

.container .hua:nth-child(7) {
  width: 300px;
  height: 300px;
  background-color: purple;
  opacity: 0.8;
  border-radius: 0 300px 0 300px;
  transform: rotate(45deg);
  transform-origin: bottom right;
  position: absolute;
  transition: all 4s ease-in-out;
  box-shadow: 0 0 5px rgba(231, 156, 156, 0.05), 0 -1px 3px rgba(231, 156, 156, 0.2), 0 9px 9px rgba(231, 156, 156, 0.3), 0 12px 12px rgba(231, 156, 156, 0.3), 0 15px 15px rgba(231, 156, 156, 0.3);
  background-image: url(./images/03.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
}

.container:hover .hua:nth-child(2) {
  transform: rotate(20deg);
  transition: all 3s ease-in;
}

.container:hover .hua:nth-child(3) {
  transform: rotate(-5deg);
  transition: all 3s ease-in;
}

.container:hover .hua:nth-child(4) {
  transform: rotate(-30deg);
  transition: all 3s ease-in;
}

.container:hover .hua:nth-child(5) {
  transform: rotate(70deg);
  transition: all 3s ease-in;
}

.container:hover .hua:nth-child(6) {
  transform: rotate(95deg);
  transition: all 3s ease-in;
}

.container:hover .hua:nth-child(7) {
  transform: rotate(120deg);
  transition: all 3s ease-in;
}
